package org.linlinjava.litemall.db.dao.order_manage;

import org.apache.ibatis.annotations.Param;
import org.linlinjava.litemall.db.vo.full_gift.ActivityListDto;
import org.linlinjava.litemall.db.vo.full_gift.GoodsUseCountDto;
import org.linlinjava.litemall.db.vo.full_gift.UserGoodsProductDto;

import java.util.List;

/**
 * @author wj
 * @date 2021/8/30 14:21
 */
public interface AgedmallFullGiftMapper {

    List<ActivityListDto> selectActivityList(Integer stat);

    List<GoodsUseCountDto> selectGoodsUseCountByActivityId(Integer id);

    List<UserGoodsProductDto> selectUserGoodsListByActivityId(@Param("id") Integer id,@Param("phone")String phone,@Param("goodsId")Integer goodsId
                                        ,@Param("orderSn")String orderSn,@Param("storeId")Integer storeId);
}
